package com.zaozhuang.robot.request;

public class PersonCheckMiniProgramInfoRequestBean {
    String from; //固定为`robot`,必传
    String method; //固定为`addreq`,必传
    String appid; //调用小程序的 APPID,必传
    int deviceid; //设备 ID,必传
    String realname; //传入的姓名,必传
    String idcard; //传入的身份证号,必传
    String page; //调用路径格式为`pages/certification/byrobot/cert_{id}`，`id`取值 1 - 9 且与设备 ID 对应,必传
    int auto; //1 或 0，默认为 0，用于确定是否自动发起人脸核验,非必传
    String return_url; //验证完成的异步回调地址,非必传

    public PersonCheckMiniProgramInfoRequestBean(String from, String method, String appid, int deviceid, String realname, String idcard, String page, int auto, String return_url) {
        this.from = from;
        this.method = method;
        this.appid = appid;
        this.deviceid = deviceid;
        this.realname = realname;
        this.idcard = idcard;
        this.page = page;
        this.auto = auto;
        this.return_url = return_url;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public int getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(int deviceid) {
        this.deviceid = deviceid;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public int getAuto() {
        return auto;
    }

    public void setAuto(int auto) {
        this.auto = auto;
    }

    public String getReturn_url() {
        return return_url;
    }

    public void setReturn_url(String return_url) {
        this.return_url = return_url;
    }
}
